package com.lanjiu.lib.business.listener;

/**
 * @description: 文件传输监听
 * @author: Panwei
 * @date: 2019/11/1 22:32
 */
public interface FileTransmissionListener {

    interface OnFileReceiverListener {
        void onStart();

        void onProgress(int progress);

        void onComplete(String path);

        void onError(int code, String msg);
    }

    interface OnFileSenderListener {
        void onStart();

        void onProgress(int progress);

        void onComplete(String path);

        void onError(int code, String msg);
    }
}
